package com.example.vehiclemanagesystem.dao;

import com.example.vehiclemanagesystem.entity.Driver;
import com.example.vehiclemanagesystem.entity.Vehicle;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface VehicleDao {
    public Vehicle selectVehicleByVehicleID(Integer v_id);
    public void addNewVehicle(Vehicle vehicle);
    public void updateVehicle(Vehicle vehicle);
    public void deleteVehicle(Vehicle vehicle);
    public List<Vehicle> allVehicle();
    public int countVehicle();
}
